using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class Carmera : MonoBehaviour
{
    [SerializeField] Transform player;
    void Update()
    {
        transform.position=new Vector3(player.position.x,player.position.y, transform.position.z); 
    }
}
